package net.bracode.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Item {

	private List<Participant> participants;
	private List<Instructor> instructors;
 	private BigDecimal price;
	private int totalParticipants;
	private Date date;
	
	public Item(int totalParticipants){
		this.totalParticipants = totalParticipants;
	}
	
	public void addParticipant(Participant participant){
		this.participants.add(participant);
	}
	
	public void addIntructors(Instructor instructor){
		this.instructors.add(instructor);
	}
	
	public List<Participant> getParticipants() {
		return participants;
	}
	
	public void setParticipants(List<Participant> participants) {
		this.participants = participants;
	}
	
	public List<Instructor> getInstructors() {
		return instructors;
	}
	
	public void setInstructors(List<Instructor> instructors) {
		this.instructors = instructors;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	public int getTotal() {
		return totalParticipants;
	}
	
	public void setTotal(int total) {
		this.totalParticipants = total;
	}
	
	public Date getDate() {
		return date;
	}
	
	public void setDate(Date date) {
		this.date = date;
	}
	
}
